Skip to content

feat: Add Full-Text Search (FTS) setup and search functionality #36

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

morristech
Copy link

  • Updated _Secrets.swift with new Supabase and PowerSync project details.
  • Added search route to Navigation.swift.
  • Integrated SearchScreen into RootView.swift.
  • Enhanced SystemManager with asynchronous database opening and search capabilities.
  • Updated HomeScreen to include a search button in the toolbar.
  • Added new files for fts functionality: FtsSetup.swift, SearchResultItem.swift, SearchResultRow.swift, and SearchScreen.swift.

- Updated `_Secrets.swift` with new Supabase and PowerSync project details.
- Added `search` route to `Navigation.swift`.
- Integrated `SearchScreen` into `RootView.swift`.
- Enhanced `SystemManager` with asynchronous database opening and search capabilities.
- Updated `HomeScreen` to include a search button in the toolbar.
- Added new files for fts  functionality: `FtsSetup.swift`, `SearchResultItem.swift`, `SearchResultRow.swift`, and `SearchScreen.swift`.
@morristech morristech changed the title feat: implement search functionality and update secrets feat: Add Full-Text Search (FTS) setup and search functionality Apr 9, 2025
- Removed unnecessary whitespace in `RootView.swift` and `SearchScreen.swift`.
- Enhanced FTS setup in `FtsSetup.swift` to check for existing tables before configuration.
- Updated search functionality in `SearchScreen.swift` for better readability and structure.
- Updated `FtsSetup.swift` to use `try` when retrieving the table name, improving error handling during the FTS configuration process.
- Refactored the layout of the `SearchScreen` to enhance readability.
- Maintained existing functionality while reorganizing the code for better clarity.
- Ensured proper handling of search text changes and loading states.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant